package com.stqf.scala.grammar.matching

/**
  * Created by ASUS on 2018-02-02.
  */
abstract class Expr

case class Var(name: String) extends Expr

case class Number(num: Double) extends Expr

case class UnOp(operator: String, args: Expr) extends Expr

case class BinOp(operator: String, left: Expr, right: Expr) extends Expr
